package com.lebang.service;

import com.lebang.domain.LogoutRecord;
import com.lebang.example.LogoutRecordExample;
import com.lebang.mapper.LogoutRecordMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* 注销审核
* @Author xwj
* @Date 2020-06-17
*/
@Service
public class LogoutRecordService extends BaseService<LogoutRecord,Long, LogoutRecordExample>{

    @Autowired
    private LogoutRecordMapper logoutRecordMapper;

    public void updateStatueById(int status, Long id) {
        logoutRecordMapper.updateStatueById(status,id);
    }

    public LogoutRecord selectOneById(Long id) {
       return logoutRecordMapper.selectOneById(id);
    }
}
